export default function App() {
	return (
		<p>
			<Slot>
				<span>array</span>
				<span>huang</span>
			</Slot>
		</p>
	);
}

function Slot(props) {
	return React.Children.map(props.children, function(child) {
		console.log(child);
		return <li>{child}</li>;
	});
}
